import request from '@/utils/request'

const pmsApi = {
  list: '/boss/system/pms/dataQuery/list',
  update: '/boss/system/pms/dataQuery/update'
}

export function getDataPermissionList (parameter) {
  return request({
    url: pmsApi.list,
    method: 'post',
    data: parameter
  })
}

export function updateDataPermission (parameter) {
  return request({
    url: pmsApi.update,
    method: 'post',
    data: parameter
  })
}
